package com.system.boot.file.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.system.api.SuperInterface;
import com.system.api.file.entity.FileAvatar;
import com.system.boot.file.mapper.FileAvatarMapper;
import com.system.boot.file.service.FileAvatarService;
import org.springframework.stereotype.Service;
import org.yang.common.core.exception.BaseException;
import org.yang.database.orm.entity.BaseQuery;

import java.util.List;

/**
 *  
 * @author: lslands
 * @description:   
 * @version：v1.0
 * @date:    2024/6/29 23:54
 */
@Service
public class FileAvatarServiceImpl extends ServiceImpl<FileAvatarMapper, FileAvatar> implements FileAvatarService {
    @Override
    public Long handInsert(FileAvatar record) throws BaseException {
        baseMapper.insert(record);
        return record.getId();
    }


}
